package com.woniu.guoguo.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Richie
 * @since 2020-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("restaurant")
public class Restaurant implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 餐厅ID
     */
    @TableId(value = "restaurant_id", type = IdType.AUTO)
    private Integer restaurantId;

    /**
     * 餐厅名
     */
    private String shopName;

    /**
     * 电话
     */
    private String tel;

    /**
     * 地址
     */
    private String address;

    /**
     * 状态（0，1：关：开）
     */
    private Integer status;

    /**
     * 经度
     */
    private Double longtitude;

    /**
     * 纬度
     */
    private Double latitude;

    /**
     * 总收入
     */
    private Double income;


}
